<?php /* Smarty version 2.6.26, created on 2015-06-01 12:15:42
         compiled from E:/wamp/www/wenda/Index/View/Member/index.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<link rel="stylesheet" href="<?php echo @__PUBLIC__; ?>
/Css/member.css" />

<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/memberleft.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- 左侧结束 -->
		<div id='right'>
	
			<p class='title'>我的首页</p>

			<ul class='property'>
				<li>金币：<span><?php echo $this->_tpl_vars['info']['point']; ?>
</span></li>
				<li>经验值：<span><?php echo $this->_tpl_vars['info']['exp']; ?>
</span></li>
				<li>采纳率：<span><?php echo $this->_tpl_vars['info']['adopt']; ?>
%</span></li>
			</ul>
			<div class='list'>
				<p><span>我的提问 <b>(共<?php echo $this->_tpl_vars['myAskArr']['num']; ?>
条)</b></span><a href="">更多>></a></p>
				<table>
						<?php if (empty ( $this->_tpl_vars['myAskArr'] )): ?>
						<tr height='140'>
							<td>你还没有进行过提问</td>
						</tr>
						<?php else: ?>
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
						<?php unset($this->_sections['x']);
$this->_sections['x']['loop'] = is_array($_loop=$this->_tpl_vars['myAskArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['x']['name'] = 'x';
$this->_sections['x']['show'] = true;
$this->_sections['x']['max'] = $this->_sections['x']['loop'];
$this->_sections['x']['step'] = 1;
$this->_sections['x']['start'] = $this->_sections['x']['step'] > 0 ? 0 : $this->_sections['x']['loop']-1;
if ($this->_sections['x']['show']) {
    $this->_sections['x']['total'] = $this->_sections['x']['loop'];
    if ($this->_sections['x']['total'] == 0)
        $this->_sections['x']['show'] = false;
} else
    $this->_sections['x']['total'] = 0;
if ($this->_sections['x']['show']):

            for ($this->_sections['x']['index'] = $this->_sections['x']['start'], $this->_sections['x']['iteration'] = 1;
                 $this->_sections['x']['iteration'] <= $this->_sections['x']['total'];
                 $this->_sections['x']['index'] += $this->_sections['x']['step'], $this->_sections['x']['iteration']++):
$this->_sections['x']['rownum'] = $this->_sections['x']['iteration'];
$this->_sections['x']['index_prev'] = $this->_sections['x']['index'] - $this->_sections['x']['step'];
$this->_sections['x']['index_next'] = $this->_sections['x']['index'] + $this->_sections['x']['step'];
$this->_sections['x']['first']      = ($this->_sections['x']['iteration'] == 1);
$this->_sections['x']['last']       = ($this->_sections['x']['iteration'] == $this->_sections['x']['total']);
?>
						<tr>
							<td class='t1'>
								<a href=""><?php echo $this->_tpl_vars['myAskArr'][$this->_sections['x']['index']]['content']; ?>
</a><span>[<?php echo $this->_tpl_vars['myAskArr'][$this->_sections['x']['index']]['title']; ?>
]</span>
							</td>
							<td><?php echo $this->_tpl_vars['myAskArr'][$this->_sections['x']['index']]['answer']; ?>
</td>
							<td class='t3'><?php echo $this->_tpl_vars['myAskArr'][$this->_sections['x']['index']]['time']; ?>
</td>
						</tr>
						<?php endfor; endif; ?>
						<?php endif; ?>
				</table>
			</div>
			<div class='list'>
				<p><span>我的回答 <b>(共<?php echo $this->_tpl_vars['myAnsweArr']['num']; ?>
条)</b></span><a href="">更多>></a></p>
				<table>
					<?php if (empty ( $this->_tpl_vars['myAnsweArr'] )): ?>
					<tr height='140'>
						<td>你还没有进行过回答</td>
					</tr>
					<?php else: ?>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
					<?php unset($this->_sections['x']);
$this->_sections['x']['loop'] = is_array($_loop=$this->_tpl_vars['myAnsweArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['x']['name'] = 'x';
$this->_sections['x']['show'] = true;
$this->_sections['x']['max'] = $this->_sections['x']['loop'];
$this->_sections['x']['step'] = 1;
$this->_sections['x']['start'] = $this->_sections['x']['step'] > 0 ? 0 : $this->_sections['x']['loop']-1;
if ($this->_sections['x']['show']) {
    $this->_sections['x']['total'] = $this->_sections['x']['loop'];
    if ($this->_sections['x']['total'] == 0)
        $this->_sections['x']['show'] = false;
} else
    $this->_sections['x']['total'] = 0;
if ($this->_sections['x']['show']):

            for ($this->_sections['x']['index'] = $this->_sections['x']['start'], $this->_sections['x']['iteration'] = 1;
                 $this->_sections['x']['iteration'] <= $this->_sections['x']['total'];
                 $this->_sections['x']['index'] += $this->_sections['x']['step'], $this->_sections['x']['iteration']++):
$this->_sections['x']['rownum'] = $this->_sections['x']['iteration'];
$this->_sections['x']['index_prev'] = $this->_sections['x']['index'] - $this->_sections['x']['step'];
$this->_sections['x']['index_next'] = $this->_sections['x']['index'] + $this->_sections['x']['step'];
$this->_sections['x']['first']      = ($this->_sections['x']['iteration'] == 1);
$this->_sections['x']['last']       = ($this->_sections['x']['iteration'] == $this->_sections['x']['total']);
?>
					<tr>
						<td class='t1'>
							<a href=""><?php echo $this->_tpl_vars['myAnsweArr'][$this->_sections['x']['index']]['wenti']; ?>
</a><span>[<?php echo $this->_tpl_vars['myAnsweArr'][$this->_sections['x']['index']]['title']; ?>
]</span>
						</td>
						<td><?php echo $this->_tpl_vars['myAnsweArr'][$this->_sections['x']['index']]['huida']; ?>
</td>
						<td class='t3'><?php echo $this->_tpl_vars['myAnsweArr'][$this->_sections['x']['index']]['time']; ?>
</td>
					</tr>
					<?php endfor; endif; ?>
					<?php endif; ?>
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->

<!--------------------底部-------------------->
<!-- 底部 -->
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../Common/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>
<!-- 底部结束 -->